<template>
  <div class="paneThree">
    <ul class="myDoc">
      <li v-for="(item,i) in 3" :key="i">
        <h3>文章名称</h3>
        <p>是绝对符合设计繁花似锦的发黑</p>
        <button @click="showAllWord(i)">查看全文</button>
      </li>
    </ul>
  </div>
</template>

<script>
import { mapActions } from "vuex";
export default {
  name: "paneThree",
  data() {
    return {};
  },
  mounted() {},
  methods: {
    ...mapActions("doc", ["set_showWord"]),
    showAllWord(i) {
      this.$emit('showWords', i);
      // this.set_showWord([true,"<h1>文本</h1>"]);
    },
  },
};
</script>

<style lang="scss" scoped>
</style>